package com.tanggh.service.impl;

import com.tanggh.dao.LogDao;
import com.tanggh.domain.Log;
import com.tanggh.service.LogService;

public class LogServiceImpl implements LogService {
	
	private LogDao logDao;
	
	public void setLogDao(LogDao logDao) {
		this.logDao = logDao;
	}
	
	@Override
	public void addLog(String content) {
		
			Log log = new Log();
			log.setContent(content);
			logDao.addLog(log);
		
	}

}
